﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Net;

namespace TimeCapsule
{
	public partial class WebToon : System.Web.UI.Page
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			Parse p = new Parse();
			int i = 1;
			
			//List<Parse.NaverTitle_m> listNaverTitle_m = new List<Parse.NaverTitle_m>();
			//listNaverTitle_m = p.parseNaverTitle_m(listNaverTitle_m, "thu");
			//foreach (Parse.NaverTitle_m n in listNaverTitle_m)
			//{
			//    System.Diagnostics.Debug.WriteLine("-----" + i++);
			//    System.Diagnostics.Debug.WriteLine(n.name);
			//    System.Diagnostics.Debug.WriteLine(n.author);
			//    System.Diagnostics.Debug.WriteLine(n.time);
			//    System.Diagnostics.Debug.WriteLine(n.address);
			//}
			
			
			//List<Parse.NaverList_m> listNaverList_m = new List<Parse.NaverList_m>();
			//listNaverList_m = p.parseNaverList_m(listNaverList_m, "325629");
			//foreach (Parse.NaverList_m n in listNaverList_m)
			//{
			//    System.Diagnostics.Debug.WriteLine("-----" + i++);
			//    System.Diagnostics.Debug.WriteLine(n.name);
			//    System.Diagnostics.Debug.WriteLine(n.address);
			//}


			//List<Parse.NaverContent_m> listNaverContent_m = new List<Parse.NaverContent_m>();
			//listNaverContent_m = p.parseNaverContent_m(listNaverContent_m, "325629", 33);
			//foreach (Parse.NaverContent_m n in listNaverContent_m)
			//{
			//    System.Diagnostics.Debug.WriteLine("-----" + i++);
			//    System.Diagnostics.Debug.WriteLine(n.title);
			//    System.Diagnostics.Debug.WriteLine(n.address);
			//    System.Diagnostics.Debug.WriteLine(n.prev);
			//    System.Diagnostics.Debug.WriteLine(n.next);
			//    System.Diagnostics.Debug.WriteLine(n.list);
			//}


			//List<Parse.NaverTitle> listNaverTitle = new List<Parse.NaverTitle>();
			//listNaverTitle = p.parseNaverTitle(listNaverTitle, "tue");
			//foreach (Parse.NaverTitle n in listNaverTitle)
			//{
			//    System.Diagnostics.Debug.WriteLine("-----" + i++);
			//    System.Diagnostics.Debug.WriteLine(n.name);
			//    System.Diagnostics.Debug.WriteLine(n.author);
			//    System.Diagnostics.Debug.WriteLine(n.time);
			//    System.Diagnostics.Debug.WriteLine(n.address);
			//}

			//List<Parse.NaverList> listNaverList = new List<Parse.NaverList>();
			//listNaverList = p.parseNaverList(listNaverList, "325629");
			//foreach (Parse.NaverList n in listNaverList)
			//{
			//    System.Diagnostics.Debug.WriteLine("-----" + i++);
			//    System.Diagnostics.Debug.WriteLine(n.name);
			//    System.Diagnostics.Debug.WriteLine(n.address);
			//    System.Diagnostics.Debug.WriteLine(n.date);
			//}

			List<Parse.NaverContent> listNaverContent = new List<Parse.NaverContent>();
			listNaverContent = p.parseNaverContent(listNaverContent, "325629", 33);
			foreach (Parse.NaverContent n in listNaverContent)
			{
				System.Diagnostics.Debug.WriteLine("-----" + i++);
				System.Diagnostics.Debug.WriteLine(n.title);
				System.Diagnostics.Debug.WriteLine(n.address);
				System.Diagnostics.Debug.WriteLine(n.prev);
				System.Diagnostics.Debug.WriteLine(n.next);
				System.Diagnostics.Debug.WriteLine(n.list);
			}
		}
		
	}
}